<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
<h:head>
	<title>JSF-Tutorial by Andy Bosch</title>
	<link rel="stylesheet" href="/JSF20Tutorial/styles.css"/>	
</h:head>

<h:body>
  	
  	<br/>
  	<br/>
  	<h2>Aktionsmethoden</h2>
  	<br/>

    <h:form id="form1">
  	
  		<h:panelGrid columns="2">
 	 		Loginname:
  			<h:inputText id="input1" value="#{loginClass.name}" />
  			Passwort:
  			<h:inputSecret value="#{loginClass.pw}" />
  		</h:panelGrid>

	   <h:commandButton action="#{loginViewController.checkPw}" value="Anmelden" />

  </h:form>
  
</h:body>

</html>